// import {tenantServiceDefinitions} from '../../../@types/api/def-tenant-service';
// import ajaxService from '../../../utils/ajaxService';
// import {HomeData} from '../../common/floorData';

// export type ContactUsPartData = {
// 	companyDetailContact: tenantServiceDefinitions['AttrValueBean'][];
// 	contacts: tenantServiceDefinitions['SupplierContactShow'][];
// 	templateId: number;
// };

// export async function fetchContactUsData(params, data: HomeData): Promise<ContactUsPartData> {
// 	const {templateId, companyInfo} = data;
// 	const {supplierId = ''} = companyInfo;
// 	const {data: getCompanyInfo} = await ajaxService.supplierInfoShow({supplierId, goodsType: 1, websiteId: ''});
// 	const contacts = getCompanyInfo?.companyInformation?.contacts || [];
// 	const companyDetailContact = getCompanyInfo?.companyDetail?.contactUs?.attrValue || [];
// 	return {
// 		companyDetailContact,
// 		contacts,
// 		templateId,
// 	};
// }
